<style>
    .socket-ctrl {
        border: 1px solid gray;
        display: flex;
        flex-direction: column;
    }
    .line {
        border: 1px solid gray;
    }
</style>

<dom>
    <div class="socket-ctrl">
        <div class="row">
            <div>状态<span $="lbState"></span></div>
        </div>
        <div class="row">
            <input $="ebUrl"/>
            <button @click="onClickLink">连接</button>
            <button @click="onClickUnlink">断连</button>
        </div>
        <div $="recv" class="col" style="">
        </div>
        <div class="row">
            <button @click="onClickClean">清理数据</button>
        </div>
    </div>
</dom>